<%@ page language="java" contentType="text/html; charset=UTF-8"
    pageEncoding="UTF-8"%>
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
<link rel="stylesheet" href="resources/css/app/dataMedical.css" type="text/css" >
<script type="text/javascript" src="resources/js/medical/dataTechnician.js"></script>
<title></title>
</head>
<body>
	<div>
		<div class="easyui-layout" data-options="fit: true">
			<div class="easyui-panel" data-options="region:'center', border:false">
        		<table id="org_dataTechnicianGrid" data-options="fit:true, border:false,toolbar:'#org_dataTechnicianGrid_toolbar'"></table>
				<div id="org_dataTechnicianGrid_toolbar">
					<a href="#" data-options="plain:'true'" class="easyui-linkbutton app-toolbar-button"  onclick="add_dataTechnician()"><i class="fa fa-plus color-icon"></i>添加</a>
          			<a href="#" data-options="plain:'true'" class="easyui-linkbutton app-toolbar-button"  onclick="update_dataTechnician()"><i class="fa fa-pencil-square-o"></i>修改</a>
        		</div>
			</div>
		</div>
		<div id="org_add_dataTechnician"  class="easyui-window" style="width:800px;height:300px;"  title="添加技师" data-options="modal:true,minimizable:false,collapsible:false,maximizable:false,resizable:false,closed:true">   
			<div class="easyui-layout" data-options="fit: true">   
            	<div data-options="region:'south',border:false" style="height:30px;"  >
              		<div style="background: #ccc;height:100%">
              			<a href="#" class="easyui-linkbutton app-window-cancelBtn" onclick="add_dataTechnician_cancelOK()">取消</a>
              			<a href="#" class="easyui-linkbutton app-window-saveBtn" onclick="add_dataTechnician_saveOK()">保存</a>
            		</div>
            	</div>   
		<div data-options="region:'center', border:false" >
        	<div class="easyui-layout" data-options="fit: true">
				<div data-options="region:'east',border:false"style="width: 180px;">
					<div class="padding5">
						<img id="addTechnician_loading" alt="" src="resources/images/default.jpg" style="width: 123px; height: 150px;" alt="">
					</div>
					<div class="margin5">
						<input id="technicianImageFile" value="请选择文件" type="file"size="10" name="imageFile" style="width: 100px;" onchange="addImageFileUpload()" />
					</div>
				</div>
				<div data-options="region:'center', border:false" >
                	<form id="add_dataTechnician" method="post">
                    	<div class="margin10 ">
                   	  		<input id="technician_guid"class="" type="hidden" name="guid"  />
                      		<label class="label-right6"><span class="span-red">*</span>姓名</label>
                      		<input class="easyui-validatebox" type="text" name="technician_name" data-options="required:true" />
                      		<label class="label-right6"><span class="span-red">*</span>性别</label>
                      		<input type="radio" name="gender"  value="0" checked="checked"/>女
                      		<input type="radio" name="gender"  value="1" />男
                    	</div>
                    	<div class="margin10">
                       		<label class="label-right6"><span class="span-red">*</span>执照类型</label>
                       		<input id="add_dataTechnician_licenseType"  type="text" class="easyui-combobox" name="license_type" value="" data-options="required:true,editable:false"/>
                       		<label class="label-right6"><span class="span-red">*</span>当前状态</label>
                       		<input type="radio" name="technician_status"  value="0" checked="checked"/>在职
                       		<input type="radio" name="technician_status"  value="1" />离职
                    	</div>
                    	<div class="margin10 "> 
                    	<label class="label-right6"><span class="span-red">*</span>出生年月</label>
                        <input id="add_TecBirthday"class="easyui-datebox" type="text" name="birthday"  data-options="required:true,editable:false"/>
                        <label class="label-right6">学历</label>
                        <input id="add_dataTechnician_education" class="easyui-combobox" name="education" data-options="editable:false" />
                    </div>
                    <div class="margin10 ">
                       	<label class="label-right6">来本单位时间</label>
                       	<input id="add_TechinDate" class="easyui-datebox" type="text" name="indate" id="" data-options="editable:false" />
                       	<label class="label-right6">职称</label>
                       	<input id="add_dataTechnician_positionalTitle" class="easyui-combobox" name="technician_title" data-options="editable:false" />
                    </div>
                    <div class="margin10">
                    	<label class="label-right6"><span class="span-red">*</span>技能类型</label>
                     	<input id="add_dataTechnician_skillType" type="text" class="easyui-combobox" name="skill_type"  data-options="required:true,editable:false"/>
						<label class="label-right6">技能专长</label>
						<select id="add_technicianSpeciality" name="technician_speciality" ></select>
					    	<div id="add_technicianSP" class="data-grid-special">
								<div class="data-grid-top">
							    	<input name="" id="add_dataTechnicianSearch" />
									<span style="margin-left: 105px;font-weight:bold;">已选专长（单击删除）</span>
								</div>
								<div style="height:242px;">
									<div class="data-grid-left">
								    	<table id="add_dataTechnicianLeftGrid" ></table>
								 	</div>
								 	<div class="data-grid-right">
							       		<table id="add_dataTechnicianRightGrid" ></table>
									</div>
								</div>
							</div>
                    </div>
				</form>
			</div>   
		</div> 
      </div>   
    </div>  
   </div>
  
   <div id="org_update_dataTechnician" class="easyui-window "style="width:800px;height:300px;" title="修改技师信息" data-options="modal:true,minimizable:false,collapsible:false,maximizable:false,resizable:false,closed:true">
   		<div class="easyui-layout" data-options="fit: true">
			<div data-options="region:'south',border:false" style="height:30px;"  >
              <div style="background: #ccc;height:100%">
              <a href="#" class="easyui-linkbutton app-window-cancelBtn" onclick="update_dataTechnician_cancelOK()">取消</a>
              <a href="#" class="easyui-linkbutton app-window-saveBtn" onclick="update_dataTechnician_saveOK()">保存</a>
            </div>
            </div>
			<div data-options="region:'center', border:false" >
            	<div class="easyui-layout" data-options="fit: true">
					<div data-options="region:'east',border:false" style="width: 180px;">
						<div class="padding5">
							<img id="updateTechnician_loading" alt=""src="resources/images/default.jpg"style="width: 123px; height: 150px;" alt="">
						</div>
						<div class="margin5">
							<input id="updatetechnicianImageFile" value="请选择文件" type="file"size="10" name="imageFile" style="width: 100px;" onchange="updateImageFileUpload()" />
						</div>
					</div>
					<div data-options="region:'center', border:false">
						<form id="update_dataTechnician" method="post">
							<div class="margin10 ">
								<input id="technician_technicianId" class="" type="hidden" name="guid"  />
								<label class="label-right6">姓名</label>
								<input class="easyui-validatebox" type="text" name="technician_name"  />
								<label class="label-right6">性别</label>
								<input type="radio" name="gender" value="0" checked="checked" />男
								<input type="radio" name="gender" value="1" checked="" />女
							</div>
							<div class="margin10">
								<label class="label-right6">执照类型</label>
								<input id="update_dataTechnician_licenseType" type="text" class="easyui-combobox" name="license_type" data-options="editable:false" />
								<label class="label-right6">当前状态</label>
								<input type="radio" name="technician_status" value="0" checked="checked" />在职 
								<input type="radio" name="technician_status" value="1" />离职
							</div>
							<div class="margin10 ">
								<label class="label-right6">出生年月</label>
								<input class="easyui-datebox" type="text" name="birthday" id="update_birthday" data-options="editable:false"/>
								<label class="label-right6">学历</label> 
								<input id="update_dataTechnician_education" class="easyui-combobox" name="education" data-options="editable:false"/>
							</div>
							<div class="margin10 ">
								<label class="label-right6">来本单位时间</label> 
								<input class="easyui-datebox" type="text" name="indate" id="update_TechinDate" data-options="editable:false" />
								<label class="label-right6">职称</label>
								<input id="update_dataTechnician_positionalTitle" class="easyui-combobox" name="technician_title" data-options="editable:false" />
							</div>
							<div class="margin10">
								<label class="label-right6">技能类型</label>
								<input id="update_dataTechnician_skillType" class="easyui-combobox" name="skill_type" data-options="editable:false"/>
								<label class="label-right6">技能专长</label>
									<select id="update_technicianSpeciality" name="technician_speciality"></select>
									<div id="update_technicianSP" class="data-grid-special">
										<div class="data-grid-top">
											<input name="" id="update_dataTechnicianSearch" /> 
											<span style="margin-left: 105px; font-weight: bold;">已选专长（单击删除）</span>
										</div>
										<div style="height: 242px;">
											<div class="data-grid-left">
												<table id="update_dataTechnicianLeftGrid"></table>
											</div>
											<div class="data-grid-right">
												<table id="update_dataTechnicianRightGrid"></table>
											</div>
										</div>
									</div>
								</div>
							</form>
						</div>
					</div>
				</div>
			</div>
		</div>
	</div>
</body>
</html>